<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="renderer" content="webkit"> 
<title>投票</title>
<link rel="stylesheet" href="<{$ipath}>wx/style/vote.css">
<script type="text/javascript" src="<{$ipath}>wx/js/jquery.min.js"></script>
<script src="<{$ipath}>wx/js/index.js"></script>
<link rel="stylesheet" href="<{$ipath}>wx/js/jquery-ui-master/themes/base/jquery.ui.all.css">
<script src="<{$ipath}>wx/js/jquery-ui-master/jquery-1.10.2.js"></script>
<script src="<{$ipath}>wx/js/jquery-ui-master/ui/jquery.ui.core.js"></script>
<script src="<{$ipath}>wx/js/jquery-ui-master/ui/jquery.ui.widget.js"></script>
<script src="<{$ipath}>wx/js/jquery-ui-master/ui/jquery.ui.datepicker.js"></script>
<script src="<{$ipath}>wx/js/ajaxfileupload.js"></script>
<link rel="stylesheet" href="<{$ipath}>wx/js/jquery-ui-master/demos/demos.css">
</head>

<body>
<form method="post" >
<div class="all">
  <div class="content">
    <div class="top">
      <h4>投票管理</h4>
       </div>
    <div class="above">
      <div class="re"> <a href="?index.php&g=wx&m=wxvote&a=show_vote"><i></i><span>投票管理</span>/新建投票</a> </div>
      <div class="con">
        <p class="description"><i></i>投票设置后，必须插入图文消息中才可生效。投票将统计该投票在各个渠道的综合结果总和，包括群发消息，自动回复，自定义菜单等。</p>
        <div class="vote-name" >
          <p class="left">投票名称</p>
          <div class="kuang left">
            <input  class="itext" name="name" type="text" id="vote_name" onFocus="please(this)" onBlur="please(this)"size="35"/>
            <em>0/35</em> </div>
          <p class="please">请填写投票名称</p>
        </div>
        <p class="description1">投票名称只用于管理，不显示在下发的投票内容中</p>
        <div class="time">
          <p class="left">截止时间</p>
          <div class="kuang1 left ">
            <input type="text" name="stop_time" class="left" id="txtdate" placeholder="">
            <i class="right"></i></div>
          <div class="shi left" >
            <select class="dropdown_data_list ddl1">
              <option class="dropdown_data_item" value="00">00</option>
              <option class="dropdown_data_item" value="01">01</option>
              <option class="dropdown_data_item" value="02">02</option>
              <option class="dropdown_data_item" value="03">03</option>
              <option class="dropdown_data_item" value="04">04</option>
              <option class="dropdown_data_item" value="05">05</option>
              <option class="dropdown_data_item" value="06">06</option>
              <option class="dropdown_data_item" value="07">07</option>
              <option class="dropdown_data_item" value="08">08</option>
              <option class="dropdown_data_item" value="09">09</option>
              <option class="dropdown_data_item" value="10">10</option>
              <option class="dropdown_data_item" value="11">11</option>
              <option class="dropdown_data_item" value="12">12</option>
              <option class="dropdown_data_item" value="13">13</option>
              <option class="dropdown_data_item" value="14">14</option>
              <option class="dropdown_data_item" value="15">15</option>
              <option class="dropdown_data_item" value="16">16</option>
              <option class="dropdown_data_item" value="17">17</option>
              <option class="dropdown_data_item" value="18">18</option>
              <option class="dropdown_data_item" value="19">19</option>
              <option class="dropdown_data_item" value="20">20</option>
              <option class="dropdown_data_item" value="21">21</option>
              <option class="dropdown_data_item" value="22">22</option>
              <option class="dropdown_data_item" value="23">23</option>
            </select>
          </div>
          <span class="fen left">时</span>
          <div class="shi left" >
            <select class="dropdown_data_list ddl2">
              <option class="dropdown_data_item" value="00">00</option>
              <option class="dropdown_data_item" value="05">05</option>
              <option class="dropdown_data_item" value="10">10</option>
              <option class="dropdown_data_item" value="15">15</option>
              <option class="dropdown_data_item" value="20">20</option>
              <option class="dropdown_data_item" value="25">25</option>
              <option class="dropdown_data_item"value="30">30</option>
              <option class="dropdown_data_item" value="35">35</option>
              <option class="dropdown_data_item" value="40">40</option>
              <option class="dropdown_data_item" value="45">45</option>
              <option class="dropdown_data_item" value="50">50</option>
              <option class="dropdown_data_item" value="55">55</option>
            </select>
          </div>
          <span class="fen left">分</span> </div>
        <div class="limit">
          <p>投票权限</p>
          <input type="radio" name="vote_pri"  value="0" checked="checked"/>
          所有人都可参与 
          <input type="radio" name="vote_pri" value="1"/>
          仅关注我的人可参与 </div>
        <p class="description2">上传图片的最佳尺寸：300像素*300像素，其他尺寸会影响页面效果，格式png，jpeg，jpg，gif。大小不超过1M</p>
      </div>
    </div>
    <!--     <div class="questionCon"> -->
    <div class="question_div">
      <div class="question">
        <div class="q_top">
          <p class="left q">问题一</p>
          <a class="shou right" onClick="shou(this)" href="javascript:;">收起</a> </div>
        <div class="q_container">
          <div class="item-title">
            <p class="left">标题</p>
            <div class="kuang sp1 left">
              <input type="text" onFocusOut="please(this)" onBlur="please(this)" name="title" class="itext question_title" />
              <em>0/35</em> </div>
            <p class="please">请填写问题标题</p>
          </div>
          <div class="sp2">
            <input type="radio" name="slec_option" value="0" class="slec_option" checked="checked" />
           单选
            <input type="radio" name="slec_option" value="1" class="slec_option" />
            多选</div>
          <div class="item-list">
          <input type="hidden" id="hiddenpic" name="img_url" value="" />
            <div class="choose-item">
              <p class="left">选项一</p>
              <div class="kuang left">
                <input type="text" onFocus="please(this)" onBlur="please(this)" name="options" class="itext options">
                <em>0/35</em> </div>
              <span class="up-btn left">上传图片
              <input type="file" id="showpic" name="img_url" class="img_url" onchange="previewImage(this)" />
              </span>
              <p class="please">请填写问题选项</p>
              <div class="preview"> <img id="" width=100 height=100 border=0 src=''> <a href="javascript:;" onClick="delPic(this)" class="delpic-btn">删除图片</a> </div>
            </div>
            <div class="choose-item">
              <p class="left">选项二</p>
              <div class="kuang left">
                <input type="text" onFocus="please(this)" onBlur="please(this)" name="options" class="itext options">
                <em>0/35</em> </div>
              <span class="up-btn left">上传图片
              <input type="file" id="showpic" name="img_url" class="img_url" onchange="previewImage(this)" />
              </span>
              <p class="please">请填写问题选项</p>
              <div class="preview"> <img id="" width=100 height=100 border=0 src=''> <a href="javascript:;" onClick="delPic(this)" class="delpic-btn">删除图片</a> </div>
            </div>
            <div class="choose-item">
              <p class="left">选项三</p>
              <div class="kuang left">
                <input type="text"  onFocus="please(this)" onBlur="please(this)" on name="options" class="itext options">
                <em>0/35</em> </div>
              <span class="up-btn left">上传图片

              <input type="file" id="showpic" name="img_url" class="img_url" onchange="previewImage(this)" />

              </span>
              <p class="please">请填写问题选项</p>
              <div class="preview"> <img id="" width=100 height=100 border=0 src=''> <a href="javascript:;" onClick="delPic(this)"  class="delpic-btn">删除图片</a> </div>
              <a href="javascript:;" onClick="deleteChooseItem(this)" class="del-btn left">删除选项</a> </div>
          </div>
          <!--chooseitem-list-->
          
          <hr/>
          <a class="add-item" href="javascript:;" onClick="addChooseItem(this)">添加选项</a> </div>
      </div>
    </div>
    <a href="javascript:;" class="add-question" onClick="addQuestionItem(this)"><i class="left"></i>
    <p class="left">添加问题</p>
    </a> </div>
  
  <!--<input class="submit" type="submit" value="完成"  />-->
  <input type="button" class="submit" value="完成">
 </div>
</form>
</body>
</html>
